package com.copro.chemdb.stat;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.ihelpuoo.util.Properties;

import com.copro.chemdb.subject.Subject;
import com.copro.simple.Application;
import com.copro.simple.SimpleException;

public interface ExportRule {

	public static short StyleHeader = (short) 0;
	public static short StyleInt = (short) 1;
	public static short StylePercent = (short) 2;
	public static short StyleHeaderInt = (short) 3;
	public static short StyleHeaderPercent = (short) 4;

	void doExport(HSSFWorkbook wb, Subject subject, StatResult re, short customStyle, Application app)
			throws SimpleException;

	void setup(Properties conf);
}
